package org.sunspotworld.robowulf.irsensor;

public interface IRSensorListener {
	/**
	 * Called when an IR sensor's counter is incremented.
	 * Note: an IRSensorListener may remove itself, but *no* others, from the associated IRSensor from within
	 * the counterIncremented method.
	 * @param src the IRSensor that triggered this event
	 * @param counterVal the current counter value of the IRSensor (after it was incremented)
	 */
	public void counterIncremented(IRSensor src, int counterVal);
}
